home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1865 / 1865.xpi / chrome / adblockplus.jar / skin / overlay.css < prev    next >
Cascading Style Sheet File  |  2010-01-07  |  3KB  |  127 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: MPL 1.1
  3.  *
  4.  * The contents of this file are subject to the Mozilla Public License Version
  5.  * 1.1 (the "License"); you may not use this file except in compliance with
  6.  * the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/MPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is Adblock Plus.
  15.  *
  16.  * The Initial Developer of the Original Code is
  17.  * Wladimir Palant.
  18.  * Portions created by the Initial Developer are Copyright (C) 2006-2009
  19.  * the Initial Developer. All Rights Reserved.
  20.  *
  21.  * Contributor(s):
  22.  *
  23.  * ***** END LICENSE BLOCK ***** */
  24.  
  25. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  26.  
  27. #abp-status *
  28. {
  29.     cursor: pointer;
  30. }
  31. #abp-status:hover
  32. {
  33.     text-decoration: underline;
  34. }
  35. #abp-status[abpstate="disabled"]
  36. {
  37.     color: #999999;
  38. }
  39. #abp-status[abpstate="whitelisted"]
  40. {
  41.     color: #008000;
  42. }
  43. #abp-status label {
  44.     display: none;
  45. }
  46.  
  47. toolbar[iconsize="small"] #abp-toolbarbutton,
  48. #PersonalToolbar #abp-toolbarbutton,
  49. #abp-status image {
  50.     list-style-image: url("abp-status-16.png");
  51.     -moz-image-region: rect(0px, 16px, 16px, 0px);
  52. }
  53. toolbar[iconsize="small"] #abp-toolbarbutton[abpstate="disabled"],
  54. #PersonalToolbar #abp-toolbarbutton[abpstate="disabled"],
  55. #abp-status[abpstate="disabled"] image {
  56.     -moz-image-region: rect(16px, 16px, 32px, 0px);
  57. }
  58. toolbar[iconsize="small"] #abp-toolbarbutton[abpstate="whitelisted"],
  59. #PersonalToolbar #abp-toolbarbutton[abpstate="whitelisted"],
  60. #abp-status[abpstate="whitelisted"] image {
  61.     -moz-image-region: rect(32px, 16px, 48px, 0px);
  62. }
  63.  
  64. #abp-toolbar-popup {
  65.     list-style-image: none;
  66.     -moz-image-region: rect(0px, 0px, 0px, 0px);
  67. }
  68.  
  69. toolbox[vertical="true"] toolbar #abp-toolbarbutton dropmarker {
  70.     display: none !important;
  71. }
  72.  
  73. menuitem[default="true"] {
  74.     font-weight: bold;
  75. }
  76.  
  77. #abp-toolbarbutton {
  78.     list-style-image: url("abp-status.png");
  79.     -moz-image-region: rect(0px, 24px, 24px, 0px);
  80.     width: auto;
  81. }
  82. #abp-toolbarbutton[abpstate="disabled"] {
  83.     -moz-image-region: rect(24px, 24px, 48px, 0px);
  84. }
  85. #abp-toolbarbutton[abpstate="whitelisted"] {
  86.     -moz-image-region: rect(48px, 24px, 72px, 0px);
  87. }
  88.  
  89. #abp-tooltip {
  90.     max-width: none;
  91. }
  92.  
  93. #abp-tooltip label {
  94.     font-weight: bold;
  95.     margin-bottom: 0px;
  96. }
  97.  
  98. #abp-tooltip description:not([hidden="true"])+label {
  99.     margin-top: 10px;
  100. }
  101.  
  102. #abp-sidebar-title {
  103.     padding-left: 4px;
  104. }
  105.  
  106. #abp-sidebar-toolbar {
  107.         display: -moz-box !important;
  108.         visibility: visible !important;
  109. }
  110.  
  111. #abp-sidebar-close {
  112.     padding: 4px 2px;
  113.     border-style: none !important;
  114.     -moz-user-focus: normal;
  115.     list-style-image: url("close.png");
  116.     -moz-appearance: none;
  117.     -moz-image-region: rect(0px, 14px, 14px, 0px);
  118. }
  119.  
  120. #abp-sidebar-close:hover {
  121.     -moz-image-region: rect(0px, 28px, 14px, 14px);
  122. }
  123.  
  124. #abp-sidebar-close:hover:active {
  125.     -moz-image-region: rect(0px, 42px, 14px, 28px);
  126. }
  127.